package org.dromara.finance.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.finance.domain.SaleContract;
import org.dromara.finance.domain.bo.SaleContractBo;
import org.dromara.finance.domain.vo.SaleContractVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

import java.util.List;

/**
 * 销售合同Mapper接口
 *
 * @author xxy
 * @date 2025-08-18
 */
public interface SaleContractMapper extends BaseMapperPlus<SaleContract, SaleContractVo> {

    SaleContractVo selectVoById(Long id);


    Page<SaleContractVo> selectContractList(Page<?> page, @Param("bo") SaleContractBo bo);

    List<SaleContractVo> selectReportList(@Param("bo") SaleContractBo bo);
}
